package com.wuyu.mini.spring.mvc.render;

import com.wuyu.mini.spring.mvc.processor.RequestProcessorChain;

/**
 * 默认渲染
 * @author wuyu
 */
public class DefaultResultRender implements ResultRender{
    public void render(RequestProcessorChain requestProcessorChain) throws Exception {
        requestProcessorChain.getResponse().setStatus(requestProcessorChain.getResponseCode());
    }
}
